From: Wei Liu Date: Mon, 5 Dec 2016 13:49:14 +0000 (+0000) Subject: gcov: explicitly include xen/init.h X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~3283 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=6f8c56873ec64e066254737e402a3b570fbd2576;p=xen.git gcov: explicitly include xen/init.h Travis discovered arm32 gcov code failed to build because __init was not defined. Include init.h explicitly to fix the issue. Signed-off-by: Wei Liu Reviewed-by: Andrew Cooper --- diff --git a/xen/common/gcov/gcov_base.c b/xen/common/gcov/gcov_base.c index e5065db5ab..34a0183521 100644 --- a/xen/common/gcov/gcov_base.c +++ b/xen/common/gcov/gcov_base.c @@ -15,6 +15,8 @@ #include "gcov.h" +#include + /* * __gcov_init is called by gcc-generated constructor code for each object * file compiled with -fprofile-arcs.